export default {
    alignLine: {
        // lineDash: [5],
        stroke: "#ff9800",
        lineWidth: 1
    },
    delegateStyle: {
        fill: "#F3F9FF",
        fillOpacity: 0.5,
        stroke: "#1890FF",
        strokeOpacity: 0.9,
        lineDash: [5, 5]
    },
    // 元素层级
    zIndex: {
        anchorPoint: 3,
        anchorHotsopt: 2,
        selectedBox: 1,
        controlPoint: 4
    },
    // 箭头半径
    arrowRadius: 6,

    // ********************     边样式      ********************
    // 边样式
    edgeStyle: {
        stroke: "#A3B1BF",
        strokeOpacity: 0.92,
        lineWidth: 1,
        lineAppendWidth: 8,
        lineDash: [0, 0]
    },
    // 线条拖拽样式
    edgeDragStyle: {
        stroke: "#ff9800",
        strokeOpacity: 0.92,
        lineWidth: 1,
        lineAppendWidth: 8,
        lineDash: [5, 5]
    },
    // 鼠标悬浮边
    edgeActivedStyle: {
        stroke: "#1890FF",
        strokeOpacity: 0.92
    },

    // 选中边的样式
    edgeSelectedStyle: {
        lineWidth: 2,
        strokeOpacity: 0.92,
        stroke: "#A3B1BF"
    },
    // 边文本样式
    edgeLabelStyle: {
        fill: "#666",
        textAlign: "center",
        textBaseline: "middle"
    },
    // 边文本矩形背景边距
    edgeLabelRectPadding: 4,
    // 边文本矩形背景样式
    edgeLabelRectStyle: {
        fill: "#eee"
    },
    // ********************     锚点      ********************
    // 锚点样式
    anchorPointStyle: {
        radius: 4,
        fill: "#fff",
        stroke: "#5AAAFF",
        lineAppendWidth: 12
    },
    banFlagStyle: {
        radius: 4,
        fill: "#ff7676",
        fillOpacity: 1,
        stroke: "#ff7676"
    },
    // 锚点热区样式
    anchorHotsoptStyle: {
        radius: 10,
        fill: "#fff",
        shadowBlur: 16,
        shadowColor: "#0075f1",
        fillOpacity: 0.2
    },
    // 锚点热区激活样式
    anchorHotsoptActivedStyle: {
        radius: 14
    },
    // 锚点鼠标悬浮样式
    anchorPointHoverStyle: {
        radius: 4,
        fill: "#5AAAFF",
        lineWidth: 2,
        fillOpacity: 1,
        stroke: "#5AAAFF"
    },
    // ********************     节点      ********************
    nodeLogoStyle: {
        img:
            "",
        width: 20,
        height: 20
    },
    // 节点悬浮样式
    nodeActivedStyle: {
        fill: "#F3F9FF",
        stroke: "#1890FF",
        fillOpacity: 0.92
    },

    // 节点选中样式
    nodeSelectedStyle: {
        shadowOffsetX: 0,
        shadowOffsetY: 4,
        shadowBlur: 10,
        shadowColor: "#ccc",
        lineWidth: 1.5
    },

    // 开始节点样式
    startNodeStyle: {
        x: 0,
        y: 0,
        r: 17,
        stroke: "#1296DB",
        fill: "#fff",
        shadowOffsetX: 0,
        shadowOffsetY: 0,
        shadowBlur: 0,
        shadowColor: "#fff",
        lineWidth: 1
    },

    // 结束节点样式
    endNodeStyle1: { x: 0, y: 0, r: 17, stroke: "#1296DB" },
    endNodeStyle2: {
        x: 0,
        y: 0,
        r: 12,
        stroke: "#1296DB",
        fill: "#1296DB",
        lineWidth: 1
    },

    // 节点样式
    nodeStyle: {
        stroke: "#d5d5d5",
        fill: "#FFFFFF",
        lineWidth: 1,
        radius: 4,
        fillOpacity: 0.92,
        shadowOffsetX: 0,
        shadowOffsetY: 0,
        shadowBlur: 0,
        shadowColor: "#fff",
        nodeColor: "#13c2c2"
    },

    // 节点文本标签样式
    nodeLabelStyle: {
        fill: "#333",
        fontSize: 14,
        fontWeight: "normal",
        fontStyle: "normal",
        fontVariant: "normal",
        textAlign: "center",
        textBaseline: "middle"
    }
}
